Xceed .NET Libraries Documentation
Xceed.Compression.Formats Assembly / Xceed.Compression.Formats Namespace / XceedCompressedStreamEx Class / Decompress Method / Decompress(Byte[]) Method
An array of bytes to decompress.


In This Topic
    Decompress(Byte[]) Method
    In This Topic
    Decompresses an array of Xceed formatted compressed bytes. Use this method to decompress data compatible with the ActiveX Xceed Zip Compression Library (XceedCompression object).
    Syntax
    'Declaration
     
    Public Overloads Shared Shadows Function Decompress( _
       ByVal buffer() As Byte _
    ) As Byte()
    'Usage
     
    Dim buffer() As Byte
    Dim value() As Byte
     
    value = XceedCompressedStreamEx.Decompress(buffer)
    public new static byte[] Decompress( 
       byte[] buffer
    )

    Parameters

    buffer
    An array of bytes to decompress.

    Return Value

    An array of bytes containing the decompressed data.
    Remarks

    If the original data contained within the decompressed byte array was a string, then it is possible to retrieve the string using the System.Text.Encoding.GetString(System.Byte[]) method of the System.Text.Encoding class.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also